package com.hanson.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanson.entity.GoodsRuleBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsRuleBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsRuleBean record);

    GoodsRuleBean selectByPrimaryKey(Integer id);

    List<GoodsRuleBean> selectAll();

    int updateByPrimaryKey(GoodsRuleBean record);

    List<GoodsRuleBean> listGoodsRule(Page<GoodsRuleBean> page,@Param("goodsRuleBean") GoodsRuleBean goodsRuleBean);
}